package com.j283_5.wisdom_park.vo.confcenter_management;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ResInfoManageVo {
    private static final long serialVersionUID = 1L;
    /**
     * 资源信息id
     */
    @TableId(value = "re_id", type = IdType.AUTO)
    private Integer reId;
    private String reName;
    private Integer reType;
    private Integer reNode;
    private String reUrl;
    private Integer reSorrting;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Timestamp reCreatetime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Timestamp reUpdatetime;
    private Integer reState;


    public ResInfoManageVo(Integer reId, String reName, Integer reType, Integer reNode, Integer reSorrting) {
        this.reId = reId;
        this.reName = reName;
        this.reType = reType;
        this.reNode = reNode;
        this.reSorrting = reSorrting;
    }
}
